home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Applications
/
Conversion
/
Convert_PICT
/
Testing
/
hex_tests
/
pat=set2=rgb.hex
< prev
next >
Wrap
Text File
|
1992-12-05
|
3KB
|
97 lines
% header
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
% end of app-specific header
00FF 0000 0000 00FF 00FF % pict size (bogus) and top left bottom right
0011 02FF % verson
0001 000A 0000 0000 00FF 00FF % Clip region. Added to keep Mac tester happy.
0030 0000 0000 00FF 00FF % draw bounding rect
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% This test set seeks to demonstrate that more 'special' opcodes
% for bitmaps, polygons, regions, and thickly framed shapes work as
% they should with patterns.
% This test confirms that they work with basic type 2 (rgb) pnpxpat patterns
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% PnPix Background pattern
0012
0002 % Type
0102 0408 1020 4080 % pattern
F0F0 0000 0000 % slightly off red
% PnPix Pen pattern
0013
0002 % Type
0102 0408 1020 4080 % pattern
0000 8080 0000 % half green
% PnPix Fill pattern
0014
0002 % Type
0102 0408 1020 4080 % pattern
FFFF 0000 8888 % Red with a middling of blue (purpleish?)
% paint a region
0081 0028 0090 0010 00F0 0070
0090 0040 0050 7FFF
00C0 0010 0070 7FFF
00F0 0010 0040 0050 0070 7FFF
7FFF
% fill a hexagonal polygon
0074 0026 0080 0080 00F0 00F0
0080 00A0
0080 00D0
00C0 00F0
00F0 00D0
00F0 00A0
00C0 0080
0080 00A0
% set a thick pen size
0007 0010 0008
% thickly Frame a rectangle
0030 0010 0080 0050 00D0
% Include a bitmap, to confirm it is not affected
0090
0004 % rowbytes
0000 0050 0018 0070 % bounds (t l b r)
0000 0050 0018 0069 % source rect
0010 0020 0028 0039 % dest rect
0001 % mode
00 7F 00 00 % bit data (unpacked)
03 80 E0 00
06 00 30 00
08 00 08 00
10 00 04 00
20 00 02 00
60 00 03 00
40 00 01 00
40 00 81 00
80 03 80 80
83 00 00 80
80 00 00 80
80 00 00 80
80 00 30 80
80 00 20 80
40 00 21 00
40 00 C1 00
63 07 83 00
20 F8 02 00
10 00 04 00
08 00 08 00
06 00 30 00
03 80 E0 00
00 7F 00 00
00FF % end